<!--
 * @Author: HeAo
 * @Date: 2022-07-28 09:49:54
 * @LastEditTime: 2022-08-30 20:04:51
 * @LastEditors: HeAo
 * @Description: 
 * @FilePath: \HTML5&CSS3\第十天\4-案例.html
 * 别乱动！
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    div:first-child {
      width: 400px;
      height: 500px;
      /* border: 1px solid; */
      background: lightcoral;
    }

    div {
      width: 310px;
      height: 438px;
      margin: 50px auto;
      transition: transform 2s;
      /* 透视 */
      perspective: 500px;
      /* background-color: blue; */

    }

    div:hover {
      /* 向后倒 */
      transform: rotateX(45deg);
    }
  </style>
</head>

<body>
  <div>
    <div>
      <img src="../第九天/images/pk.png" alt="" srcset="">
    </div>

  </div>


</body>

</html>